import type { Person } from '../types/person'
import { BaseApiClient } from './base-api.client'


export class PersonApiClient extends BaseApiClient<Person> {
  constructor() {
    super('persons', {
      headers: {
        'Content-Type': 'application/json'
      },
    })
  }
}

// 导出单例
export const personApiClient = new PersonApiClient()